<template>
  <div class="classify-nav">
    <slot></slot>
    {{ title }}
  </div>
</template>

<script>
export default {
  name: 'classify-nav',
  props: {
    title: String
  },
  data () {
    return {}
  },
  methods: {},
  created () {}
}
</script>

<style lang="less">
@import "../../common/z-theme/_variable.less";

.classify-nav {
  position: sticky;
  top: 0;
  right: 0;
  left: 0;
  display: block;
  background-color: @--fill-base;
  color: @--color-text-regular;
  font-size: @--font-size-small;
  font-weight: @--font-weight-primary;
  padding: 10px;
  line-height: @--font-line-height-primary;
  z-index: @zindex-navbar-fixed;
}
</style>
